<?php $this->load->view('common/head');?>
<?php $this->load->view('common/navbar');?>
<div style="margin-top: 10px;">
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th class="bg-primary text-center">文件名称</th>
        <th class="bg-primary text-center col-sm-2">下载</th>
      </tr>
    </thead>
    <tbody>
      <?php foreach ($fileList as $k => $v) {?>
      <tr>
        <td class="text-center"><?=$v['title']?></td>
        <td class="text-center col-sm-2">
        	<a type="button" class="btn btn-default" href="<?=printUrl('Upload','download',array('fileId'=>$v['fileId']))?>" aria-label="Left Align" role="button">
            <span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span>
            点击下载
          </a>
        </td>
      </tr>
      <?php } ?>
    </tbody>
  </table>
  </div>
<?php $this->load->view('common/foot');?>